import React, { Component } from 'react';
import List from '../list';

export default class Content extends Component {
  render() {
    return (
      <div>
        {this.props.todos.map(item => {
          return <List key={item.id} {...item} delItem={this.props.delItem} changeSelect={this.props.changeSelect} />;
        })}
      </div>
    );
  }
}
